package com.aote.util;

import com.browsesoft.dbtools.DBTools;

public  class PasswordHelper {

	/**
	   * 看是否区分大小写
	   * @return
	   */
	  public static boolean passwordCamel()
	  {
		  
	    try
	    {
	      //取出设置的是否区分大小写属性
	      String sql = "select f_matchcase from t_setpassrule";
	      String[][] temp = DBTools.executeQueryWithTableHead(sql);
	      return temp[1][0].equals("区分大小写");
	    }
	    catch (Exception ex)
	    {
	      return false;
	    }
	  }
}
